#include "scene.h"

#include <fstream>
#include <map>
#include <iostream>
using namespace std;

void CScene::SetRenderer(CRenderer *pNewRenderer)
{
    pRenderer = pNewRenderer;
}

CRenderer* CScene::GetRendererPointer()
{
    return pRenderer;
}

void CScene::Render()
{
    pRenderer->Render();
}

void CScene::Load(string sFilePath)
{
    unsigned int nCommandNo = 0;

    fstream file;
    file.open(sFilePath.c_str(), ios::in | ios::out);
    while(file)
    {
        string sCommand;
        file >> sCommand;
    }
    file.close();
}
